package com.zzy;
import com.zzy.utils.Csh;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.web.context.ContextLoader;
import org.springframework.web.context.WebApplicationContext;

import javax.servlet.ServletContext;
import java.util.ArrayList;

@SpringBootApplication
public class P1Application {

    public static void main(String[] args) throws Exception
    {
        ConfigurableApplicationContext run = SpringApplication.run(P1Application.class, args);
        Csh csh = (Csh)run.getBean("csh");
        csh.chs();
    }

}
